using System;
using System.Collections.Generic;
using System.Text;

namespace BT_Q1000
{
    public class UnsupportedUpdateRateException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="UnsupportedUpdateRateException"/> class.
        /// </summary>
        /// <param name="timeSincePreviosuPosition">The time since previosu position.</param>
        /// <param name="message">The message.</param>
        public UnsupportedUpdateRateException(double timeSincePreviosuPosition, string message)
            :
                    base(message + Environment.NewLine + Environment.NewLine + "Time since previous position (ms): " + timeSincePreviosuPosition.ToString())
        {
        }
    }
}
